<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../../js/lib/jquery-v3.0.0.js"></script>
    <script src="../../js/lib/i18next.js"></script>
    <script src="../../js/lib/jquery-i18next.js"></script>
</head>

<body>
    <p><a href="https://github.com/i18next/jquery-i18next">https://github.com/i18next/jquery-i18next</a></p>
    <p>点击下面的按钮切换语言</p>
    <input id="english" type="button" onclick="changeLang('en')" value="英语">
    <input id="simplifiedChinese" type="button" onclick="changeLang('zh')" value="简体中文">
    <ul class="nav">
        <li><a href="#" data-i18n="nav.home"></a></li>
        <li><a href="#" data-i18n="nav.page1"></a></li>
        <li><a href="#" data-i18n="nav.page2"></a></li>
    </ul>

    <div class="content">
        <input data-i18n="[placeholder]input.placeholder;[title]input.placeholder" />
    </div>
    <script src="basic.js"></script>
</body>

</html>